package com.hang.model.dto.request;

import com.hang.model.dto.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class MessageQueryDTO extends BaseModel {
    @ApiModelProperty(value = "用户id",required = true)
    @NotNull
    private Long userId;

    @ApiModelProperty(value = "消息类型:[0:全部 1:任务通知 2:任务更新通知 3:任务接取通知 4:缺陷通知 5:缺陷更新通知 6:缺陷接取通知]")
    private Integer messageType;

    @ApiModelProperty(value = "是否已读")
    private Integer isRead;
}
